﻿using Microsoft.EntityFrameworkCore.Metadata.Internal;
using Microsoft.Office.Interop.Excel;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PanhuaWin.系统管理
{
    internal class Bus_HardOutput
    {           /// <summary>
                ///产出卷guid
                /// </summary>
        [Key]
        [Display(Name = "产出卷guid")]
        [Column(TypeName = "uniqueidentifier")]
        [Required(AllowEmptyStrings = false)]
        public Guid OutputGuid { get; set; }

        /// <summary>
        ///产线编号
        /// </summary>
        [Display(Name = "产线编号")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        public string WorkLineCode { get; set; }

        /// <summary>
        ///产线名称
        /// </summary>
        [Display(Name = "产线名称")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        public string WorkLineName { get; set; }

        /// <summary>
        ///班组编号
        /// </summary>
        [Display(Name = "班组编号")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        public string WorkTeamCode { get; set; }

        /// <summary>
        ///班组名称
        /// </summary>
        [Display(Name = "班组名称")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        public string WorkTeamName { get; set; }

        /// <summary>
        ///班别
        /// </summary>
        [Display(Name = "班别")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        public string DayShiftCode { get; set; }

        /// <summary>
        ///班别名称
        /// </summary>
        [Display(Name = "班别名称")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        public string DayShiftName { get; set; }

        /// <summary>
        ///存货编号
        /// </summary>
        [Display(Name = "存货编号")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        public string InventoryCode { get; set; }

        /// <summary>
        ///存货名称
        /// </summary>
        [Display(Name = "存货名称")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        public string InventoryName { get; set; }

        /// <summary>
        ///表面处理
        /// </summary>
        [Display(Name = "表面处理")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        public string FaceDone { get; set; }

        /// <summary>
        ///表面状态
        /// </summary>
        [Display(Name = "表面状态")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        public string FaceStatus { get; set; }

        /// <summary>
        ///质量标准
        /// </summary>
        [Display(Name = "质量标准")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        public string QualityStandard { get; set; }

        /// <summary>
        ///
        /// </summary>
        [Display(Name = "CreateID")]
        [Column(TypeName = "int")]
        public int? CreateID { get; set; }

        /// <summary>
        ///
        /// </summary>
        [Display(Name = "Creator")]
        [MaxLength(255)]
        [Column(TypeName = "nvarchar(255)")]
        public string Creator { get; set; }

        /// <summary>
        ///
        /// </summary>
        [Display(Name = "CreateDate")]
        [Column(TypeName = "datetime")]
        public DateTime? CreateDate { get; set; }

        /// <summary>
        ///
        /// </summary>
        [Display(Name = "ModifyID")]
        [Column(TypeName = "int")]
        public int? ModifyID { get; set; }

        /// <summary>
        ///部门名称
        /// </summary>
        [Display(Name = "部门名称")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        public string DepartName { get; set; }

        /// <summary>
        ///
        /// </summary>
        [Display(Name = "Modifier")]
        [MaxLength(255)]
        [Column(TypeName = "nvarchar(255)")]
        public string Modifier { get; set; }

        /// <summary>
        ///部门编号
        /// </summary>
        [Display(Name = "部门编号")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        public string DepartCode { get; set; }

        /// <summary>
        ///产出卷下一工序
        /// </summary>
        [Display(Name = "产出卷下一工序")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        public string OutputNext { get; set; }

        /// <summary>
        ///原卷guid
        /// </summary>
        [Display(Name = "原卷guid")]
        [Column(TypeName = "uniqueidentifier")]
        [Required(AllowEmptyStrings = false)]
        public Guid guid { get; set; }

        /// <summary>
        ///行
        /// </summary>
        [Display(Name = "行")]
        [Column(TypeName = "bigint")]
        public long? Row { get; set; }

        /// <summary>
        ///报工日期
        /// </summary>
        [Display(Name = "报工日期")]
        [Column(TypeName = "date")]
        public DateTime? OutputDate { get; set; }

        /// <summary>
        ///投入卷号
        /// </summary>
        [Display(Name = "投入卷号")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        public string VolumeCodeNew { get; set; }

        /// <summary>
        ///产出卷号新
        /// </summary>
        [Display(Name = "产出卷号新")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        public string OutputVolumeNew { get; set; }

        /// <summary>
        ///产出卷规格
        /// </summary>
        [Display(Name = "产出卷规格")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        public string OutputSize { get; set; }

        /// <summary>
        ///产出卷厚度
        /// </summary>
        [Display(Name = "产出卷厚度")]
        [DisplayFormat(DataFormatString = "18,3")]
        [Column(TypeName = "decimal")]
        public decimal? OutputThick { get; set; }

        /// <summary>
        ///产出卷宽度
        /// </summary>
        [Display(Name = "产出卷宽度")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        public string OutputWidth { get; set; }

        /// <summary>
        ///产出卷材质
        /// </summary>
        [Display(Name = "产出卷材质")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        public string OutputMaterial { get; set; }

        /// <summary>
        ///产出卷重量
        /// </summary>
        [Display(Name = "产出卷重量")]
        [DisplayFormat(DataFormatString = "18,3")]
        [Column(TypeName = "decimal")]
        public decimal? OutputWeight { get; set; }

        /// <summary>
        ///米数
        /// </summary>
        [Display(Name = "米数")]
        [Column(TypeName = "decimal")]
        public decimal? OutputMeter { get; set; }

        /// <summary>
        ///产地
        /// </summary>
        [Display(Name = "产地")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        public string OutputAddress { get; set; }

        /// <summary>
        ///产出卷质量等级
        /// </summary>
        [Display(Name = "产出卷质量等级")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        public string OutputQualityGrade { get; set; }

        /// <summary>
        ///产出卷质量信息
        /// </summary>
        [Display(Name = "产出卷质量信息")]
        [MaxLength(4000)]
        [Column(TypeName = "nvarchar(4000)")]
        public string OutputQualityInformation { get; set; }

        /// <summary>
        ///产出卷最终状态
        /// </summary>
        [Display(Name = "产出卷最终状态")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        public string OutputEndStatus { get; set; }

        /// <summary>
        ///打印次数
        /// </summary>
        [Display(Name = "打印次数")]
        [Column(TypeName = "int")]
        public int? PrintTimes { get; set; }

        /// <summary>
        ///
        /// </summary>
        [Display(Name = "ModifyDate")]
        [Column(TypeName = "datetime")]
        public DateTime? ModifyDate { get; set; }

        /// <summary>
        ///客户
        /// </summary>
        [Display(Name = "客户")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        public string Customer { get; set; }
    }
}
